<%-- 
    Document   : doUpdate
    Created on : 03.08.2009, 19:21:02
    Author     : Mario
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="../STYLES/serverStyles.css" />
        <title>FBIS - ADMIN / LAGERVERWALTUNG / UPDATE</title>
    </head>
    <body>
        <jsp:useBean id="stock" scope="application" class="de.stalinski.db.PricesTableConnector" />
        <%
        java.util.Map<String,String[]> pMap = request.getParameterMap();
        java.util.Enumeration<String> pEnum = request.getParameterNames();
        stock.updateStock(pMap, pEnum);
        %>
        
        <div id="container">
            <div id="header">
                <jsp:include page="../HTML/header.html"/>
            </div>
            <div id="leftBar">
                <form name="frm" action="" method="GET">
                    <div class="leftMenu">
                        <table>
                            <tbody>                         
                                <tr>
                                    <td><a class="button" href="../menu.jsp"><span>Zurück</span></a></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </form>
            </div>
            
            <div id="content">
                <div class="scroll">
                    <span class="head">Neuer Lagerbestand:</span>
                    <%= stock.getStock(1) %>
                </div>
            </div>
            <meta http-equiv="refresh" content="0;stock.jsp">
            <div id="footer" >
                <jsp:include page="../HTML/footer.html"/>
            </div>
        </div>
    </body>
</html>
